package org.example;

//类“石斧”实现接口“斧头”
public class StoneAxe implements Axe {
    public String name() {
        return "stoneAxe";
    }

    //石斧实现父类的方法“砍”
    @Override
    public String chop() {
        return "we use Stone axe";
    }
}
